home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / applied / id < prev    next >
Text File  |  2001-04-06  |  369b  |  16 lines

  1. SYNOPSIS
  2.         int id(string str)
  3.  
  4. DESCRIPTION
  5.         Let the object identify itself. If str matches an id of the
  6.         current object then return a none zero value.
  7.         This lfun is applied for the efun present().
  8.  
  9. EXAMPLE
  10.         int id(string str) {
  11.            return "sword" == str || "sword of fire" == str;
  12.         }
  13.         
  14. SEE ALSO
  15.         present(E)
  16.